package com.suse.common.util.time;

import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;

/**
 * <p>
 * LocalDateTime工具类
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-10-23 17:52
 */
public class LocalDateTimeUtil {

    public static LocalDateTime of(long epochMilli) {
        return LocalDateTime.ofInstant(Instant.ofEpochMilli(epochMilli), ZoneId.systemDefault());
    }

}
